package com.freemyleft.left.left_app.mian.index.my.mywallet;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;

import com.freemyleft.left.left_app.R;
import com.freemyleft.left.left_app.R2;
import com.freemyleft.left.left_app.mian.index.my.mywallet.classfree.ClassFreeDelegate;
import com.freemyleft.left.left_app.mian.index.my.mywallet.share.SharedListDelegate;
import com.freemyleft.left.left_app.mian.index.my.mywallet.transactiondetails.TransactionDetailsDelegate;
import com.freemyleft.left.zapp.delegates.LeftDelegate;

import butterknife.OnClick;

/**
 * 我的钱包
 */
public class MyWalletDelegate extends LeftDelegate {
    //提现
    @OnClick(R2.id.img_withdraw)
    void withdraw() {
        start(new withdrawDelegate());
    }

    //课时费用
    @OnClick(R2.id.tv_class_free)
    void classFree() {
        start(new ClassFreeDelegate());
    }

    //交易明细
    @OnClick(R2.id.transaction_details)
    void transaction() {
        start(new TransactionDetailsDelegate());
    }

    //账户管理
    @OnClick(R2.id.tv_account_management)
    void accountManagement() {
        start(new AccountManagerMentDelegate());
    }

    @OnClick(R2.id.tv_my_income)
    void shrardList() {
        start(new SharedListDelegate()
        );
    }

    @Override
    public Object setLayout() {
        return R.layout.delegate_my_wallet;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, @NonNull View rootView) {

    }
}
